﻿using System;
using System.Linq;
using System.Runtime.Serialization;

namespace MeetSomeNearbyStrangerWebApi.Models
{
    [DataContract]
    public class UserRegisterModel
    {
        [DataMember(Name = "userID", IsRequired = true)]
        public string UserID { get; set; }

        [DataMember(Name = "nickname", IsRequired = true)]
        public string Nickname { get; set; }

        [DataMember(Name = "age", IsRequired = true)]
        public int Age { get; set; }

        [DataMember(Name = "gender", IsRequired = true)]
        public string Gender { get; set; }

        [DataMember(Name = "latitude", IsRequired = true)]
        public double Latitude { get; set; }

        [DataMember(Name = "longitude", IsRequired = true)]
        public double Longitude { get; set; }
    }
}